import React, {useState} from 'react'
import {View,Text} from '@tarojs/components'
import Favorites from '../../../components/favorites'

import './index.scss'

export default function MyFavorites(){
  const [favoritesList,useFavoritesList] = useState([
    {tit:'标题', content:'描述描述描述描述描述描述描述描述描述描述描述描述描' +
        '述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描',price:'￥888', url: require('../../../static/images/moguj.png')},
    {tit:'标题', content:'描述描述描述描述描述描述描述描述描述描述描述描述描' +
        '述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描',price:'￥888', url: require('../../../static/images/moguj.png')},
    {tit:'标题', content:'描述描述描述描述描述描述描述描述描述描述描述描述描' +
        '述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描',price:'￥888', url: require('../../../static/images/moguj.png')},
    {tit:'标题', content:'描述描述描述描述描述描述描述描述描述描述描述描述描' +
        '述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描',price:'￥888', url: require('../../../static/images/moguj.png')},
    {tit:'标题', content:'描述描述描述描述描述描述描述描述描述描述描述描述描' +
        '述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描',price:'￥888', url: require('../../../static/images/moguj.png')},
    {tit:'标题', content:'描述描述描述描述描述描述描述描述描述描述描述描述描' +
        '述描述描述描述描述描述描述描述描述描述描述描述描述描述描述描',price:'￥888', url: require('../../../static/images/moguj.png')},
  ])
  return (
    <View className='my_favorites'>
      <View className='favorites_list'>
        <Favorites favoritesList={favoritesList} />
      </View>
    </View>
  )
}
